package com.xiaoyu.lanling.event.gift

import `in`.srain.cube.request.JsonData
import com.xiaoyu.base.event.BaseEvent
import com.xiaoyu.lanling.feature.gift.model.Gift

class ReceiveGiftEvent(val senderUid: String, jsonData: JsonData) : BaseEvent() {
    val gift = Gift(0, jsonData)
    val from = jsonData.optString("from")
}